<template>
  <div>
   <template>
        <div>
          <el-descriptions>
            <el-descriptions-item label="商品编号">{{
              data.proCode
            }}</el-descriptions-item>
            <el-descriptions-item label="商品名称">{{
              data.proName
            }}</el-descriptions-item>
            <el-descriptions-item label="助记名">{{
              data.proCode + "-" + data.proName
            }}</el-descriptions-item>
            <el-descriptions-item label="分类">{{
              data.typeName
            }}</el-descriptions-item>
            <el-descriptions-item label="主单位">{{
              data.unitName
            }}</el-descriptions-item>
            <el-descriptions-item label="销售价格">{{
              data.price
            }}</el-descriptions-item>
            <el-descriptions-item label="备注">{{
              data.proRemark
            }}</el-descriptions-item>
            <el-descriptions-item label="创建时间">{{
              data.createDate
            }}</el-descriptions-item>
            <el-descriptions-item label="创建人">{{
              data.createName
            }}</el-descriptions-item>
            <el-descriptions-item label="修改时间">{{
              data.modifyDate
            }}</el-descriptions-item>
            <el-descriptions-item label="修改人">{{
              data.modifyName
            }}</el-descriptions-item>
          </el-descriptions>
        </div>
      </template>
  </div>
</template>

<script>
export default {
  name: "WarehouseProductDetailTable",
  props: ["data"],
  methods: {
    handleClick(row) {
      console.log(row);
    },
    handleClose(done) {
      done();
    },
  },
  mounted(){
    console.log("PurchaseOrderDetailTable data",this.data)
  },
  data() {
    return {
      dialogVisible: false,
    };
  },
};
</script>

<style>
</style>